﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.ComponentModel;

namespace BDSim
{
    /// <summary>
    /// 空间段模型基类
    /// </summary>
    [TypeConverter(typeof(PropertySorter))]   
    public class SpaceBase : BDSimObject
    {
        private ESpaceType _Type;
        private UTCTime _CurTime;

        [XmlIgnore,Category("基本信息"), Description(""), PropertyOrder(2),Browsable(false)]
        public ESpaceType Type
        {
            get { return _Type; }
            set { _Type = value; NotifyPropertyChanged("Type"); }
        }
        
        /// <summary>
        /// 当前仿真时间
        /// </summary>
        [XmlIgnore,Browsable(false)]
        public UTCTime CurTime
        {
            get { return _CurTime; }
            set { _CurTime = value; }
        }
    }
}
